<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>script_test.html</title>
<script src='../js/script_test.js'></script>


</head>

<body>
<h1>JavaScript 작성방법</h1>
<input type='button' value='버튼' onclick="alert('확인')">
<hr/>
<!-- 자바스크립트 사용시 id값이 중요함 -->
<input type='text' id='su1' value='50'/> +
<input type='text' id='su2' value='100'/>
<input type='button' id='btn' value='더하기' />
<hr/>

<input type='range' id='ran' value='50' min='0' max='100'/>
<input type='button' value='확인' id='btn2'/>

</body>
</html>